﻿using Smobiler.Core;
using Smobiler.Core.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FubiManger.UI;

namespace FubiManger.Controls
{
    ////ToolboxItem用于控制是否添加自定义控件到工具箱，true添加，false不添加
    //[System.ComponentModel.ToolboxItem(true)]
    partial class Addlevelreulcontrol : Smobiler.Core.Controls.MobileUserControl
    {
        public Addlevelreulcontrol() : base()
        {
            //This call is required by the SmobilerUserControl.
            InitializeComponent();
        }
        /// <summary>
        /// 关闭
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnclose_Press(object sender, EventArgs e)
        {
            ((EditLevelForm)this.Form).Closelevel();
            this.Close();
        }
        /// <summary>
        /// 添加规则
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnok_Press(object sender, EventArgs e)
        {
            ((EditLevelForm)this.Form).Addreul();
            this.Close();
        }
    }
}